TEMPLATE	= app
TARGET		= Juffed
QT			+= xml

CONFIG   += qt warn_on release
######CONFIG   += console
DESTDIR	+= ./


DEPENDPATH += . ui4.2
INCLUDEPATH += . ui4.2
UI_DIR	= ui

MOC_DIR	= build/.moc
RCC_DIR	= build/.rcc
OBJECTS_DIR = build/.obj



win32 {
RC_FILE = resource/win_win.rc
}

macx {
#### associate all file type to this editor and drag to dock 
####  http://wiki.qtcentre.org/index.php?title=Open_dokument_on_Mac_OSX_Finder
RC_FILE = resource/mac_icon.icns
QMAKE_INFO_PLIST = resource/mac.plist
}


RESOURCES += resource.qrc



HEADERS	+= \
	JuffEd.h \
    main.h \
	DocHandler.h \
	Document.h \
	Settings.h \
	TextDoc.h \
	NullTextDoc.h \
	TextDocWidget.h \
	MultiPage.h \
	SettingsDlg.h \
	FindDlg.h \
	CommandStorage.h \
	LineNumWidget.h \
	MainSettings.h \
	CharsetsSettingsPage.h \
	HLStorage.h \
	HL.h \
    Core_Text_Edit.h \
	HLTypes.h

SOURCES	+= \
	main.cpp \
	Document.cpp \
	JuffEd.cpp \
	DocHandler.cpp \
	Settings.cpp \
	TextDoc.cpp \
	TextDocWidget.cpp \
	MultiPage.cpp \
	SettingsDlg.cpp \
	FindDlg.cpp \
	CommandStorage.cpp \
	LineNumWidget.cpp \
	CharsetsSettingsPage.cpp \
	HLStorage.cpp \
    Core_Text_Edit.cpp \
	HL.cpp



